package com.ibm.entity;

public class Order {

    private int  orderId;
    private int userId;
    private int totalAmount;
    private String userAddr;
    private  String productId;
    private String orderTime;

    public void Order(){}
    public void Order(int orderId,int userId,int totalAmount,String userAddr,String productId,String orderTime)
    {
        this.orderId=orderId;
        this.userId=userId;
        this.totalAmount=totalAmount;
        this.userAddr=userAddr;
        this.productId=productId;
        this.orderTime=orderTime;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getUserId() {
        return userId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setTotalAmount(int totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getTotalAmount() {
        return totalAmount;
    }

    public void setUserAddr(String userAddr) {
        this.userAddr = userAddr;
    }

    public String getUserAddr() {
        return userAddr;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getOrderTime() {
        return orderTime;
    }
}
